<?php get_header(); ?>

<div id="page">
<?php get_sidebar(); ?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="post" id="post-<?php the_ID(); ?>">
	<div class="postpage">
    <h2>
		<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
	</h2>
      <p class="postmeta"><span class="edit"><?php the_author() ?></span><?php edit_post_link('Edit', '', ''); ?></p>
    </div>

	<div class="content">
		<?php the_content('Read the rest of this entry &raquo;'); ?>
		<?php the_tags('<p class="tag">', ', ', '</p>'); ?>
	</div>

    <div id="comments">
	<?php comments_template(); ?>
    </div>
	</div>
    


	<?php endwhile; endif; ?>


</div>
</div>

<?php get_footer(); ?>
